package com.xiqin.security.bean;

import com.xiqin.microservicebean.system.SystemRole;
import org.springframework.security.core.GrantedAuthority;

/**
 * @Author TaoQiansheng
 * @Date 2020-05-07 13:55
 * @Version 1.0
 */
public class CustomerAuthority extends SystemRole implements GrantedAuthority {
    @Override
    public String getAuthority() {
        return this.getRoleName();
    }
}
